//
//  CupAdapter.h
//  Cupcake
//
//  Created by luotianqiang1 on 16/12/2.
//
//

#ifndef CupcakeCupAdapter_h
#define CupcakeCupAdapter_h

#include"MyBaseAdapter.h"
using namespace cocos2d;
class CupcakeCupAdapter: public KDS::MyBaseAdapter {
     CC_SYNTHESIZE( std::string, _currentcategory, Currentcategory);
    CC_SYNTHESIZE(Rect, _limit, Limit);
public:
    CREATE_ADAPTER(CupcakeCupAdapter);
    KDS::EventSprite * getItem(size_t position);
protected:
    CupcakeCupAdapter();
    bool isFree(size_t index);
};


#endif /* CupAdapter_hpp */
